/* Quickie Reset */
* {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: Helvetica;
}

/* Minimum height on body helps preventDefault */
body {
	min-height: 316px;
}

/* Set our fixed elements above everything else */
#header, #footer {
	position: relative;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 44px;
	background: url("../img/bg.png") repeat-x center top;
	z-index: 200;
}

/* Header */
#header h1 {
	color: #fff;
	text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0px;
	font-size: 20px;
	text-align: center;
	line-height: 44px;
}

/* Footer */
#footer {
	position: relative;
	top: 368px;
	height: 49px;
	background-position: center bottom;
}

/* Reposition on scroll */
body.scrolled #footer {
	top: 307px;
}

/* Reposition on orientation change */
body[orient="landscape"] #footer {
	top: 220px;
}

/* Reposition on scroll */
body.scrolled[orient="landscape"] #footer {
	top: 159px;
}

#footer ul {
	margin: 0 auto;
	padding: 3px 0 0;
	list-style: none;
	display: block;
	height: 46px;
	width: 320px;
	text-align: center;
	overflow: hidden;
}

#footer li {
	margin: 0 2px;
	float: left;
	position: relative;
}

#footer li.active {
	border: 3px solid;
	border-width: 0 3px;
	-webkit-border-image: url("../img/footer-hover.png") 0 3;
}

#footer span {
	padding: 29px 3px 3px;
	float: left;
	width: 74px;
	color: #bbb;
	font-weight: bold;
	font-size: 10px;
	text-decoration: none;
	background: url("../img/footer-buttons.png") no-repeat -2px -50px;
}

#footer li.active span {
	padding-left: 0;
	padding-right: 0;
	color: #fff;
}

#footer .team.active span {
	background-position: -5px top;
}

#footer .feed span {
	background-position: -66px -50px;
}

#footer .feed.active span {
	background-position: -69px top;
}

#footer .post span {
	background-position: -130px -50px;
}

#footer .post.active span {
	background-position: -133px top;
}

#footer .box span {
	background-position: -194px -50px;
}

#footer .box.active span {
	background-position: -197px top;
}

#footer .games span {
	background-position: -258px -50px;
}

#footer .games.active span {
	background-position: -261px top;
}

#footer .tweets span {
	background-position: -322px -50px;
}

#footer .tweets.active span {
	background-position: -325px top;
}

/* Container */
#container {
	height: 324px;
}

/* Reposition on scroll */
body.scrolled #container {
	height: 263px;
}

/* Reposition on orientation change */
body[orient="landscape"] #container {
	height: 176px;
}

/* Reposition on scroll */
body.scrolled[orient="landscape"] #container {
	height: 115px;
}

/* Content */
#content {
	position: relative;
	border-top: 1px solid #e0e0e0;
}

#content li {
	position: relative;
	list-style-type: none;
	overflow: hidden;
	margin: 0;
	padding: 0;
	-webkit-margin-top-collapse: separate;
	-webkit-margin-bottom-collapse: separate;
	border-bottom: 1px solid #e0e0e0;
	height: 60px;
}

#content li.active {
	background: #0874e1;
}

#content li.active span {
	color: #fff;
}

#content li span {
	position: absolute;
	left: 90px;
	top: 12px;
	height: 22px;
	right: 30px;
	width: auto;
	color: #000;
	font-weight: normal;
	font-size: 12px;
	text-overflow: ellipsis;
	overflow: visible;
	/*white-space: nowrap;*/
	text-decoration: none;
}
